Skip to content

[projmgr] Add list templates command#2155

Merged
brondani merged 1 commit into
Open-CMSIS-Pack:mainfrom
ARM-software:outbound/projmgr-add-list-templates
Jul 23, 2025
Merged

[projmgr] Add list templates command#2155
brondani merged 1 commit into
Open-CMSIS-Pack:mainfrom
ARM-software:outbound/projmgr-add-list-templates

Conversation

@grasci-arm

@grasci-arm grasci-arm commented Jul 23, 2025

Copy link
Copy Markdown
Collaborator

Address #2151
In the typical use case the results are filtered according to the template's conditions evaluated for the selected target type:

$ csolution list templates <csolution.yml> -a <active target set>
<template name> (<pack>)

When the *.csolution.yml is not specified it lists all templates from installed packs.
The --filter option checks the presence of a filter string in the<template name>.

When the --verbose flag is used further information is printed:

<template name> (<pack>)
  description: <template description>
  path: <path to template's folder>
  file: <path to *.csolution.yml file>
  copy-to: <destination folder> (optional)

@github-actions

github-actions Bot commented Jul 23, 2025

Copy link
Copy Markdown

Test Results

 33 files   66 suites   10s ⏱️
166 tests 166 ✅ 0 💤 0 ❌
498 runs  498 ✅ 0 💤 0 ❌

Results for commit db5320b.

♻️ This comment has been updated with latest results.

@brondani brondani merged commit bdd4786 into Open-CMSIS-Pack:main Jul 23, 2025
41 of 42 checks passed
@brondani brondani deleted the outbound/projmgr-add-list-templates branch July 23, 2025 08:30
@codecov

codecov Bot commented Jul 23, 2025

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 72.94118% with 23 lines in your changes missing coverage. Please review.

Project coverage is 66.60%. Comparing base (8f41f87) to head (db5320b).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
tools/projmgr/src/ProjMgr.cpp 47.05% 5 Missing and 4 partials ⚠️
tools/projmgr/src/ProjMgrWorker.cpp 80.95% 4 Missing and 4 partials ⚠️
tools/projmgr/test/src/ProjMgrUnitTests.cpp 76.92% 0 Missing and 6 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2155      +/-   ##
==========================================
+ Coverage   66.59%   66.60%   +0.01%     
==========================================
  Files         181      181              
  Lines       37732    37817      +85     
  Branches    22006    22055      +49     
==========================================
+ Hits        25126    25188      +62     
- Misses       8046     8055       +9     
- Partials     4560     4574      +14     
Flag Coverage Δ
projmgr-cov 81.33% <72.94%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
tools/projmgr/include/ProjMgr.h 100.00% <ø> (ø)
tools/projmgr/include/ProjMgrWorker.h 77.27% <ø> (ø)
tools/projmgr/test/src/ProjMgrUnitTests.cpp 80.41% <76.92%> (-0.02%) ⬇️
tools/projmgr/src/ProjMgrWorker.cpp 87.98% <80.95%> (-0.08%) ⬇️
tools/projmgr/src/ProjMgr.cpp 80.46% <47.05%> (-0.76%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants